package com.woniuxy.classdeans.service.impl;

import com.woniuxy.classdeans.mapper.ForemanInfoDtoMapper;
import com.woniuxy.classdeans.service.ForemanInfoDtoService;
import com.woniuxy.commons.entity.wyh.ForemanInfoDto;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;

import java.util.List;

/**
 * 班主任带班信息
 * @author wangyanhui
 * @date 2020/8/1 - 10:13
 */
@Service
public class ForemanInfoDtoServiceImpl implements ForemanInfoDtoService {

    @Autowired
    ForemanInfoDtoMapper foremanInfoDtoMapper;
    /**
     * 获取所有班主任带班信息
     * @return
     */
    @Override
    public List<ForemanInfoDto> getAll() {

        return foremanInfoDtoMapper.getAll();
    }
}
